package com.example.kotlin

import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.TextView

class MainActivity : AppCompatActivity() {
private var ff_ll:TextView?=null;
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        ff_ll=findViewById(R.id.ff_ll) as TextView;
        ff_ll!!.text="Hello Kotlin哈哈哈哈" ;

        ii(ff_ll!!.text.toString());



    }

    fun ii(a:String){
        Log.d("我是kotlin","哈哈哈哈"+a);
    }

}
